//
//  OfflineSalonCell.m
//  Jingjing
//
//  Created by user on 15/11/12.
//  Copyright © 2015年 Mikeshihua. All rights reserved.
//

#import "OfflineSalonCell.h"

@implementation OfflineSalonCell
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier])
    {
        _titleLabel = [[UILabel alloc]initWithFrame:CGRectMake(16.0f,20.0f, SCREEN_WIDTH - 32.0f-58.0f, 40.0f)];
        _titleLabel.textColor = kColorTEXT;
        _titleLabel.numberOfLines = 2;
        _titleLabel.font = [UIFont systemFontOfSize:16.0f];
        [self.contentView addSubview:_titleLabel];
        
       
        _imgView = [[UIImageView alloc]initWithFrame:CGRectMake(0, NH(_titleLabel)+30.0f, SCREEN_WIDTH, 175.0f)];
        _imgView.clipsToBounds = YES;
        _imgView.contentMode = UIViewContentModeScaleAspectFill;
        [self.contentView addSubview:_imgView];
        
        

        
        _WhetherYToSignUpImgView = [[UIImageView alloc]initWithFrame:CGRectMake(SCREEN_WIDTH-58.0f-16.0f-16.0f, 0.0f, 58.0f, 44.0f)];
        
        _WhetherYToSignUpImgView.hidden = YES;
        _WhetherYToSignUpImgView.clipsToBounds = YES;
        _WhetherYToSignUpImgView.contentMode = UIViewContentModeScaleAspectFill;
        [self.contentView addSubview:_WhetherYToSignUpImgView];
        
        
        self.backgroundColor = [UIColor colorWithRed:253.0f/255.0f green:236.0f/255.0f blue:224.0f/255.0f alpha:1.0f];
        
        
    }
    return self;
}

@end
